import request from '@/api/request';
// 学生入学成绩录入
export const req_extry_exam=(arg)=>request({
    method:'post',
    url:'/entry_exam',
    arg,
    headerType:'form'
})
// 学生期中成绩录入
export const req_mid_exam=(arg)=>request({
    method:'post',
    url:'/mid_exam',
    arg,
    headerType:'form'
})
// 学生期末成绩录入
export const req_end_exam=(arg)=>request({
    method:'post',
    url:'/end_exam',
    arg,
    headerType:'form'
})
// 学生入学成绩查询
export const req_search_entry=(stu_id)=>request({
    method:'get',
    url:`/search_entry/${stu_id}`,
    arg:{},
    headerType:''
})
// 学生期中成绩查询
export const req_search_mid=(stu_id)=>request({
    method:'get',
    url:'/search_mid',
    arg:{stu_id},
    headerType:''
})
// 学生期末成绩查询
export const req_search_end=(stu_id)=>request({
    method:'get',
    url:`/search_end/${stu_id}`,
    arg:{stu_id},
    headerType:''
})